
<? require($_SERVER['DOCUMENT_ROOT'] . '/gs-sos/application/views/inc_header.php'); ?>

<section id="main">
  <div class="container">
    <div align="center">
      <h2 class="title">
        ยอดขาย All Sale: <a href="http://airkee.com/index.php?image=result0/1401445983ak101.109.210.28u16s15.gif"><img src="http://airkee.com/result0/1401445983ak101.109.210.28u16s15.gif"; alt="Thai Text Generator" border="0" /></a>
      </h2>
    </div>

    <div class="bottom-padding bottom-padding-min">
      <div class="title-box">
        <h2 class="title">หมวดหมู่สินค้าและบริการ</h2>
      </div>
      <div class="clearfix"></div>	
      <div class="team-box row">
        
          <!-- Loop1 -->
          <?php if ($query->num_rows() > 0) { ?>
          <?php foreach ($query->result() as $row) { ?>     
                <div class="span3 employee">
                  <div class="default">
                    <div class="image" align="center">
                        <a href="Category/viewPrdByCat/<? echo $row->CAT_ID; ?>"><img src="<?php echo $row->CAT_IMG; ?>" alt="" title="" width="253" height="158"></a>
                    </div>
                    <div class="description">
                      <div class="vertical">
                        <h3 class="name"><?php echo $row->CAT_NAME; ?></h3>
                        <div class="role"><b>(<?php echo $sum['cat'.$row->CAT_ID]; ?>)</b></div>
                      </div>
                    </div>
                  </div>
                </div>
          <?php  } } ?>
          <!-- End Loop1 -->
          
        <p>&nbsp;</p>
      </div>
    </div>
  </div>
</section><!-- #main -->

</div><!-- .page-box -->
</div><!-- .page-box-content -->

<? require($_SERVER['DOCUMENT_ROOT'] . '/gs-sos/application/views/inc_footer.php'); ?>
